<div class="comment-item show-list" >
    <div class="item-left">
        <img member_id="<%=user.member_id%>" src="<%=user.avatar%>" class="list-photo comment-photo">
    </div>
    <div class="item-right" rid="<%=rid%>" key="<%=key%>" data-memberid="<%=user.member_id%>">
        <span class="list-name commenter-name "><%=user.real_name%></span>
        <span class="text-right commenter-time"><%=comment_time%></span>
        <div class="comment-content">
            <div class="reply-left" style="display:inline-block">
                <span>回复</span>
                <span class="reply-name"><%=rname%></span>
                <span>：</span>
            </div>
            <div class="reply-context" style="display:inline-block"><%=content%></div>
        </div>
        <div class="attachs" >
            <div class="image">
            <%if (attachs.image) {%>
                <% attachs.image.forEach(function(it){ %>
                <img src="<%=it.filepath%>"/>
                <%})%>

            <%}%>
                </div>
                <% attachs.video&&attachs.video.forEach(function(it){ %>
            <div class="video">
                <div path='<%=it.filepath%>'>
                   <img src="../../../images/icon_video@2x.png">
                </div>
            </div>
            <%})%>
            <% attachs.audio&&attachs.audio.forEach(function(it){ %>
            <div class="audio">
                <div path='<%=it.filepath%>'>
                    <audio src="<%=it.filepath%>" style="display: none">
                        您的浏览器不支持 audio 标签。
                    </audio>
                    <img src="../../../images/audio3.png">
                    <span><%=it.fvExtData.timeLong%>'</span>
                </div>
            </div>
            <%})%>


            <div class="file">
                <% attachs.file&&attachs.file.forEach(function(it){ %>
                <%if(it.fileext=='docx'){%>
                    <div id="<%=it.id%>"><img src="../../../images/icon_word@2x.png" /><span class="name"><%=it.name%></span><span class="size"><%=it.filesize%></span></div>
                <%}else if(it.fileext=='rar'){%>
                    <div id="<%=it.id%>"><img src="../../../images/icon_rar@2x.png" /><span class="name"><%=it.name%></span><span class="size"><%=it.filesize%></span></div>
                <%}else if(it.fileext=='pptx'){%>
                    <div id="<%=it.id%>"><img src="../../../images/icon_ppt@2x.png" /><span class="name"><%=it.name%></span><span class="size"><%=it.filesize%></span></div>
                <%}else if(it.fileext=='ppt'){%>
                    <div id="<%=it.id%>"><img src="../../../images/icon_ppt@2x.png" /><span class="name"><%=it.name%></span><span class="size"><%=it.filesize%></span></div>
                <%}else if(it.fileext=='doc'){%>
                    <div id="<%=it.id%>"><img src="../../../images/icon_word@2x.png" /><span class="name"><%=it.name%></span><span class="size"><%=it.filesize%></span></div>
                <%}else if(it.fileext=='xls'){%>
                    <div id="<%=it.id%>"><img src="../../../images/icon_excel@2x.png" /><span class="name"><%=it.name%></span><span class="size"><%=it.filesize%></span></div>
                <%}else if(it.fileext=='txt'){%>
                    <div id="<%=it.id%>"><img src="../../../images/icon_txt@2x.png" /><span class="name"><%=it.name%></span><span class="size"><%=it.filesize%></span></div>
                <%}else if(it.fileext=='pdf'){%>
                    <div id="<%=it.id%>"><img src="../../../images/icon_pdf@2x.png" /><span class="name"><%=it.name%></span><span class="size"><%=it.filesize%></span></div>
                <%}else {%>
                    <div id="<%=it.id%>"><img src="../../../images/icon_other@2x.png" /><span class="name"><%=it.name%></span><span class="size"><%=it.filesize%></span></div>
                <%}})%>
            </div>
        </div>
    </div>
</div>